/*
   逻辑操作符演示
*/
#include <stdio.h>
int main() {
    int age = 0 , num = 0;
    printf("请输入一个年龄:");
    scanf("%d",&age);
    printf("结果是%d\n",20 <= age && age <= 30);
    1 || ++num;
    printf("num是%d\n",num);
    0 && ++num;
    printf("num是%d\n",num);
    return 0;
}
